package com.yanfan.maintain.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author huan
 * @Description
 * @ClassName 2023年01月10日 11:02:00
 * @Version 1.0
 **/
public class EvaluationRequest {

    /**
     * 主键
     */
    private Long id;
    /**
     * 被评分用户ID
     */
    private Long userId;
    /**
     * 得分
     */
    private Double grade;
    /**
     * 状态
     */
    private Long state;
    /**
     * 评分人
     */
    private Long scorer;
    /**
     * 评分时间
     */
    private Date gradeDate;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 考核年度
     */
    private String assessYear;
    /**
     * 考核月份
     */
    private String assessMonth;
    /**
     * 所属部门
     */
    private String deptName;
    /**
     * 所属部门
     */
    private String deptId;
    /**
     * 岗位
     */
    private String positionName;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedDate;


    /**
     * 当前页
     */
    private int currPage;
    /**
     * 当前条数
     */
    private int pageSize;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getScorer() {
        return scorer;
    }

    public void setScorer(Long scorer) {
        this.scorer = scorer;
    }

    public Date getGradeDate() {
        return gradeDate;
    }

    public void setGradeDate(Date gradeDate) {
        this.gradeDate = gradeDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getAssessYear() {
        return assessYear;
    }

    public void setAssessYear(String assessYear) {
        this.assessYear = assessYear;
    }

    public String getAssessMonth() {
        return assessMonth;
    }

    public void setAssessMonth(String assessMonth) {
        this.assessMonth = assessMonth;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
}
